#include <algorithm/analytical_model/algorithm/Area.h>
#include <algorithm/shared/data/topology/geometry/Rectangle.h>
#include <utils/ParaUtils.h>

using namespace solar;

template <> auto solar::area(Rectangle* rect, bool lazy) -> double
{
    const auto size = SOLAR_GET_VALUE(Rectangle, size_, *rect);
    return size.x() * size.y();
}
